---

- name: etcd-packages
  include_tasks: etcd-packages.yml
  when: etcd_packages_enabled | default(True)
  tags: [etcd-packages]

- name: etcd-configure
  include_tasks: etcd-configure.yml
  tags: [etcd-configure, etcd-start, etcd-stop]

- name: etcd-users
  include_tasks: etcd-users.yml
  when: etcd_auth_enabled | default(False)
  tags: [etcd-users]
